﻿using DAL;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Utils;

namespace BLL
{
   public class PagingBLL
    {
        #region 对象
        PagingDAL Paging = new PagingDAL();//分页
        #endregion

        //分页
        public DataTable Thequery(PageDto PageDto)
        {
            DataTable dt = Paging.Thequery(PageDto);
            return dt;
        }
        //分页三连
        public DataTable Thequery3(PageDto PageDto)
        {
            DataTable dt = Paging.Thequery3(PageDto);
            return dt;
        }
        //计算页数
        public DataTable Thetotal(PageDto PageDto)
        {
            DataTable dt = Paging.Thetotal(PageDto);
            return dt;
        }
    }
}
